﻿@using Cloud.Dto
@model Cloud.Dto.Sys.ModuleDto
@{
    Layout = null;
}

<form id="form1" action="@Url.Action("Edit")">
    @Html.AntiForgeryToken()
    <input type="hidden" name="ModuleId" value="@Model.ModuleId" />
    <input type="hidden" name="ParentId" value="@Model.ParentId" />
    <div class="form-group">
        <div class="inline-block" style="width:100%;">
            <label class="control-label text-right" for="form-field-1" style="width:100px;">父级节点</label>
            @Model.ParentName
            [@Model.ParentId]
        </div>
    </div>
    <div class="form-group">
        <div class="inline-block" style="width:100%;">
            <label class="control-label text-right" for="ModuleName" style="width:100px;">菜单名称</label>
            <input type="text" id="ModuleName" name="ModuleName" value="@Model.ModuleName">
        </div>
    </div>
    <div class="form-group">
        <div class="inline-block" style="width:100%;">
            <label class="control-label text-right" for="form-field-2" style="width:100px;">控制器名称</label>
            <input type="text" id="form-field-2" name="ControllerName" value="@Model.ControllerName">
        </div>
    </div>
    <div class="form-group">
        <div class="inline-block" style="width:100%;">
            <label class="control-label text-right" for="form-field-3" style="width:100px;">动作名称</label>
            <input type="text" id="form-field-3" name="ActionName" value="@Model.ActionName">
        </div>
    </div>
    <div class="form-group">
        <div class="inline-block" style="width:100%;">
            <label class="control-label text-right" for="form-field-4" style="width:100px;">排序</label>
            <input type="text" id="form-field-4" name="Sort" value="@Model.Sort">
        </div>
    </div>
    <div class="form-group">
        <div class="" style="border-top: medium;text-align:center;">
            <span class="btn btn-primary formSubmit">保存</span>

        </div>

    </div>
</form>

